package cn.sfrog.project.biz.admin.domain.vo;

import cn.sfrog.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.Date;


@Data
@ApiModel(description = "订单评价")
public class BizServiceOrderEvaluationVO {

    @ApiModelProperty("id")
    @Excel(name = "id")
    private Long id;

    @ApiModelProperty("评价人")
    @Excel(name = "评价人")
    private Long userId;

    @ApiModelProperty("评价内容")
    @Excel(name = "评价内容")
    private String content;

    @ApiModelProperty("评价图片")
    @Excel(name = "评价图片")
    private String images;

    @ApiModelProperty("评分")
    @Excel(name = "评分")
    private Integer score;

    @ApiModelProperty("评价订单sn")
    @Excel(name = "评价订单sn")
    private String serviceOrderSn;

    @ApiModelProperty("评价时间")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date evaluationTime;

    @ApiModelProperty("审核状态【0=待审核 1=审核成功 2=审核失败】")
    @Excel(name = "审核状态【0=待审核 1=审核成功 2=审核失败】")
    private String auditStatus;

    @ApiModelProperty("用户手机号")
    @Excel(name = "用户手机号")
    private String phonenumber;

    @ApiModelProperty("昵称")
    @Excel(name = "昵称")
    private String nickName;



    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    @ApiModelProperty("审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date auditTime;

}
